package com.chenwy.example.visible.pkg2;

import com.chenwy.example.visible.pkg1.ProtectedVisible;

public class ProtectedVisibleTest {

    protected  ProtectedVisible protectedVisible = new ProtectedVisible();
    {
        //异包非子类不可见
        //protectedVisible.prop1;
    }
    public static void main(String[] args) {
        ProtectedVisible protectedVisible = new ProtectedVisible();
        //
        //protectedVisible.prop1;
    }
}
